ActionController::Routing::Routes.draw do |map|
	# RESTful routes  
	map.resources :sections
	map.resources :jobs
  map.resources :datasheets
  map.resources :graphics
  map.resources :users
  map.resources :sessions
	map.resources :pages
	map.resources :comments
  map.resources :dashboards
  map.resources :archives

  # RESTful routes for Sections
  map.resources :solutions
  map.resources :services
  map.resources :hosting
  map.resources :technologies  
  map.resources :news

	# Named routes
  map.home '', :controller => 'home'
	map.signup '/signup', :controller => 'users', :action => 'new'
  map.login  '/login', :controller => 'sessions', :action => 'create'
  map.logout '/logout', :controller => 'sessions', :action => 'destroy'
	
	# Default routes
  map.connect ':controller/service.wsdl', :action => 'wsdl'
  map.connect ':controller/:action/:id.:format'
	map.connect ':controller/:action/:id'
end